package com.qf.entity;

import java.util.Date;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.entity
 * @Description:
 * @Date 2022/9/28 10:15
 */
@SuppressWarnings("all")
public class User {

    private int userid;
    private String username;
    private String password;
    private String address;
    private String phone;
    private Date birthday;
    private double money;

    public User() {
    }

    public User(int userid, String username, String password, String address, String phone, Date birthday, double money) {
        this.userid = userid;
        this.username = username;
        this.password = password;
        this.address = address;
        this.phone = phone;
        this.birthday = birthday;
        this.money = money;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", birthday=" + birthday +
                ", money=" + money +
                '}';
    }
}
